package org.footballmanager.pandafootball.system.domain;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.persistence.*;
import java.io.Serializable;
import java.util.Date;

/**
 * 站内信
 */
@Entity
@Setter
@Getter
@ToString
public class FootZnx extends BaseEntity implements Serializable {
	@Column(name = "sender")
	private Long sender;
	@Transient
	private String senderName;
	@Column(name = "resiver")
	private Long resiver;
	@Transient
	private String resiverName;
	@Column(name = "content")
	private String content;
	@Column(name = "url")
	private String url;
	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "send_time", length = 19)
	private Date sendTime;
	@Column(name = "readed")
	private Boolean readed;
	@Column(name = "logo")
	private Long logo;
	@Transient
	private String logoUrl;

}